let initState = () => ({
  /*********************** header ***********************/
  header: {
    aaaa1: '153万亿条', //累计数采量
    aaaa2: '405万亿条', //今日数采量
    aaaa3: '90%', //数采自动化率
    aaaa4: '25%', //数据上达率
    aaaa5: '25%', //数据质量异常率
  },

  bbbb1: '11万条', //地磅
  bbbb2: '11万条', //SIS
  bbbb3: '11万条', //随手拍
  bbbb4: '11万条', //钉钉录入
});

export default {
  namespace: 'powerPlant',
  state: { ...initState() },
  effects: {},
  reducers: {
    setState(state, action) {
      return { ...state, ...action.payload };
    },
    init(state, action) {
      return { ...initState(), ...action.payload };
    },
  },
};
